package com.baiyun.mapper;

import com.baiyun.entity.Sale;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SalesMapper {

    List<Sale> selectAllSales();

    void addSales(Sale sale);

    void updateSales(Sale sale);

    void deleteSales(Integer sid);

    Sale getSaleById(Integer sid);
}
